<%-- 
    Document   : validation
    Created on : May 29, 2011, 2:12:04 PM
    Author     : havn
--%>

<%@include file="page\header.jsp" %>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>                   

<form method="post" action="validate">
    <table width="100%" border="0">
        <tr>
            <td colspan="2"><h3>Validate</h3></td>
        </tr>
        <tr>
            <td style="text-align: right">File:</td>
            <td style="text-align: left"><input type="file" ></input></td>
            <td><div class="errors"></div></td>
        </tr>
        
        <tr>
            <td colspan="2"></td>
        </tr>
        <tr>
            <td style="text-align: right"><button type="submit">Process the transaction</button></td>
            <td style="text-align: left"><button type="reset">Reset</button></td>
        </tr>
        <c:set var="error" value="${error}"></c:set>
        <tr style="background-color: azure">
            <td><c:out value="${error}"></c:out></td>
            <td></td>
        </tr>
    </table>
</form>

<%@include file="page\footer.jsp" %>       
